package com.booksystem.campuslibrarymanagementsystem.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.booksystem.campuslibrarymanagementsystem.entity.SystemTable;
import com.booksystem.campuslibrarymanagementsystem.mapper.SystemTableMapper;
import com.booksystem.campuslibrarymanagementsystem.service.SystemTableService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SystemTableServiceImpl extends ServiceImpl<SystemTableMapper, SystemTable> implements SystemTableService {
    @Autowired
    SystemTableMapper systemTableMapper;

    @Override
    public SystemTable findLatestAnnouncement(){
        return systemTableMapper.findLatestAnnouncement();
    }
}
